////////////////////////////////////////////////////////////////////////////////
// Copyright 2006 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   SimpleQueryObject.java
// AUTHOR           :   ric.yik
// DATE CREATE      :   2006/5/12
// DESCRIPTION      :   
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2006/5/12      ric.yik         1.0                 source is created.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.common.query;

public class SimpleQueryObject implements QueryObject {

    private final String query;

    public SimpleQueryObject(String query) {
        super();
        this.query = query;
    }

    public String toQuery() {
        return query;
    }

    public String getQuery() {
        return query;
    }

    public String toString() {
        return this.toQuery();
    }

}
